Implement touch text selection in GtkTextView
authorCarlos Garnacho <carlos@lanedo.com>
Wed, 11 Jul 2012 14:43:51 +0000 (16:43 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Sep 2012 04:19:46 +0000 (00:19 -0400)
commit5bda3a001d1a88c269447c91694ce6b0b0c89cb6
tree39f0f59c4aa3d9bd74f2b12a06613f968095a6db
parentd38efb1713a5dc76c9f6d7019df044e32580dfcb
Implement touch text selection in GtkTextView

GtkTextHandle is used to indicate both the cursor position
and the selection bound, dragging the handles will modify
the selection and scroll if necessary.

Backwards text selection is also blocked for touch devices,
so the handles don't get inverted positions and possibly
obscure portions of the selected text.
gtk/gtktextview.c